package com.zhongjian.technologycal.mall.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by wei on 2018/3/19.
 */

public class LogisticsBean implements Serializable{

    /**
     * error_code : 0
     * error_message : 成功
     * data : {"LogisticCode":"810543986777","ShipperCode":"YTO","Traces":[{"AcceptStation":"【浙江省杭州市萧山中部公司】 已收件","AcceptTime":"2018-03-17 21:33:27"},{"AcceptStation":"【浙江省杭州市萧山中部公司】 已发出 下一站 【杭州转运中心】","AcceptTime":"2018-03-17 21:37:46"},{"AcceptStation":"【杭州转运中心】 已收入","AcceptTime":"2018-03-18 00:00:03"},{"AcceptStation":"【杭州转运中心】 已发出 下一站 【淮安转运中心】","AcceptTime":"2018-03-18 00:02:40"},{"AcceptStation":"【淮安转运中心】 已收入","AcceptTime":"2018-03-18 08:54:04"},{"AcceptStation":"【淮安转运中心】 已发出 下一站 【江苏省宿迁市泗洪县公司】","AcceptTime":"2018-03-18 08:55:35"},{"AcceptStation":"【江苏省宿迁市泗洪县公司】 派件人: 马永升 派件中 派件员电话15850404370","AcceptTime":"2018-03-18 13:52:56"},{"AcceptStation":"客户 签收人: 15850404370 已签收 感谢使用圆通速递，期待再次为您服务","AcceptTime":"2018-03-18 20:05:02"}],"State":"3","EBusinessID":"1327303","Success":true}
     */

    private int error_code;
    private String error_message;
    private DataBean data;

    public int getError_code() {
        return error_code;
    }

    public void setError_code(int error_code) {
        this.error_code = error_code;
    }

    public String getError_message() {
        return error_message;
    }

    public void setError_message(String error_message) {
        this.error_message = error_message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * LogisticCode : 810543986777
         * ShipperCode : YTO
         * Traces : [{"AcceptStation":"【浙江省杭州市萧山中部公司】 已收件","AcceptTime":"2018-03-17 21:33:27"},{"AcceptStation":"【浙江省杭州市萧山中部公司】 已发出 下一站 【杭州转运中心】","AcceptTime":"2018-03-17 21:37:46"},{"AcceptStation":"【杭州转运中心】 已收入","AcceptTime":"2018-03-18 00:00:03"},{"AcceptStation":"【杭州转运中心】 已发出 下一站 【淮安转运中心】","AcceptTime":"2018-03-18 00:02:40"},{"AcceptStation":"【淮安转运中心】 已收入","AcceptTime":"2018-03-18 08:54:04"},{"AcceptStation":"【淮安转运中心】 已发出 下一站 【江苏省宿迁市泗洪县公司】","AcceptTime":"2018-03-18 08:55:35"},{"AcceptStation":"【江苏省宿迁市泗洪县公司】 派件人: 马永升 派件中 派件员电话15850404370","AcceptTime":"2018-03-18 13:52:56"},{"AcceptStation":"客户 签收人: 15850404370 已签收 感谢使用圆通速递，期待再次为您服务","AcceptTime":"2018-03-18 20:05:02"}]
         * State : 3
         * EBusinessID : 1327303
         * Success : true
         */

        private String LogisticCode;
        private String ShipperCode;
        private String State;
        private String EBusinessID;
        private boolean Success;
        private List<TracesBean> Traces;

        public String getLogisticCode() {
            return LogisticCode;
        }

        public void setLogisticCode(String LogisticCode) {
            this.LogisticCode = LogisticCode;
        }

        public String getShipperCode() {
            return ShipperCode;
        }

        public void setShipperCode(String ShipperCode) {
            this.ShipperCode = ShipperCode;
        }

        public String getState() {
            return State;
        }

        public void setState(String State) {
            this.State = State;
        }

        public String getEBusinessID() {
            return EBusinessID;
        }

        public void setEBusinessID(String EBusinessID) {
            this.EBusinessID = EBusinessID;
        }

        public boolean isSuccess() {
            return Success;
        }

        public void setSuccess(boolean Success) {
            this.Success = Success;
        }

        public List<TracesBean> getTraces() {
            return Traces;
        }

        public void setTraces(List<TracesBean> Traces) {
            this.Traces = Traces;
        }

        public static class TracesBean {
            /**
             * AcceptStation : 【浙江省杭州市萧山中部公司】 已收件
             * AcceptTime : 2018-03-17 21:33:27
             */

            private String AcceptStation;
            private String AcceptTime;

            public String getAcceptStation() {
                return AcceptStation;
            }

            public void setAcceptStation(String AcceptStation) {
                this.AcceptStation = AcceptStation;
            }

            public String getAcceptTime() {
                return AcceptTime;
            }

            public void setAcceptTime(String AcceptTime) {
                this.AcceptTime = AcceptTime;
            }
        }

    }
}
